package di.ex.annotation;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class AnnotationMain {
	public static void main(String[] args) {
		ApplicationContext context= new FileSystemXmlApplicationContext("src/di/ex/annotation/zoo.xml");
		System.out.println(context.getBean("zoo",Zoo.class).getAnimal());
	}

}
